package com.hmyuan.dao;

import java.util.List;

import com.hmyuan.domain.Sys_resources;

public interface Sys_resourcesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Sys_resources record);

    int insertSelective(Sys_resources record);

    Sys_resources selectByPrimaryKey(Long id);
    
    List<Sys_resources> selectList(Sys_resources sys_resources);
    
    List<Sys_resources> selectListByUserid(Long userid);
    
    List<Sys_resources> selectListByRoleid(Long roleid);
    
    List<Sys_resources> selectListOfUserAndRoleByUserid(Long userid);

    int updateByPrimaryKeySelective(Sys_resources record);

    int updateByPrimaryKey(Sys_resources record);
}